/**
 * 获取审核列表
 * @param {Object} sh_status 审核状态:1=待审核,2=已通过,3=被驳回
 */
export function getAppealByleader (sh_status, page, rows) {
	return uni.$u.post('/api/gxkfs_admin/getAppealByleader', {sh_status, page, rows})
}

/**
 * 审批
 * @param {Number} appeal_id 	申诉事项ID
 * @param {Number} organization_id 交办人ID
 * @param {String} file_names	文件名
 * @param {String} extra_link 	链接
 * @param {String} approve_message 	留言及反馈 
 * @param {Number} sh_status 	审核状态:1=待审核,2=已通过,3=被驳回
 */
export function apiAppealApprove (appeal_id, organization_id ,file_names, extra_link, approve_message, sh_status, organization_classify_id) {
	return uni.$u.post('/api/gxkfs_admin/appealApprove', {appeal_id, organization_id ,file_names, extra_link, approve_message, sh_status, organization_classify_id})
}

/**
 * 获取驳回列表
 */
export function apiUserAppealBh (page, rows) {
	return uni.$u.post('api/gxkfs_admin/userAppealBh', {page, rows})
}
 
 /**
	* 设置免审核
	* @param {Number} msh 免审核:1=否,2=是
	*/
export function apiChangeMsh (msh) {
	return uni.$u.post('api/gxkfs_admin/changeMsh', {msh})
}

/**
 * 获取免审核状态
 */
export function apiGetMsh () {
	return uni.$u.post('api/gxkfs_admin/getMsh')
}